//
//  EDJHttpOperation.h
//  EDJCoreFramework
//
//  Created by 王芳 on 16/4/22.
//  Copyright © 2016年 edaijia-inc. All rights reserved.
//

#import "EDJBaseAsynchronousOperation.h"
#import "AFHTTPSessionManager.h"

@interface EDJHttpOperation : EDJBaseAsynchronousOperation

@property (nonatomic,strong,readonly) NSURLSessionTask *task;

- (instancetype)initWithRequest:(NSURLRequest *)request manager:(AFHTTPSessionManager *)manager success:(void(^)(NSURLSessionDataTask * task,id value))success failure:(void(^)(NSURLSessionDataTask *task, NSError *error))failure;
- (void)start;
@end
